<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	<h:form id="objectView" style="margin:0;">
	<c:forEach items="#{navigationViewBeanService.checkedMainMenuItems}" var="naviMainMenuElement">
	<p:accordionPanel event="mouseover" styleClass="portal-objectView" id="#{naviMainMenuElement.id}_ap">
		<c:forEach items="#{naviMainMenuElement.menuItem}" var="naviMainMenuElement2">
		<p:tab id="#{naviMainMenuElement2.id}_tab" title="#{messages[naviMainMenuElement2.displayName]}">
			<table cellspacing="0" cellpadding="0" border="0" width="100%">
				<tbody>
					<c:forEach items="#{naviMainMenuElement2.menuItem}" var="naviMainMenuElement3">
					<tr id="#{naviMainMenuElement3.id}"
						onmouseout="this.className='portal-objectView-panelBarItem-unactive'" 
						onmouseover="this.className='portal-objectView-panelBarItem-active'"
						class="portal-objectView-panelBarItem-unactive"
						>
						<td width="25px" class="portal-objectView-panelBarItem-menu-icon"></td>
						<td style="padding-left: 5px; padding-right: 5px;">
							<p:commandLink onstart="statusDialog.show();" oncomplete="SinoPortal.NaviMenu.onClickMenuItemComplete(xhr, status, args)"
								style="width:100%;float:left;"
								actionListener="#{portalAction.naviMenuAction}">
								<h:inputHidden value="#{naviMainMenuElement3.id}" />
								<h:outputText value="#{messages[naviMainMenuElement3.displayName]}" />
							</p:commandLink>
						</td>
					</tr>
					</c:forEach>
				</tbody>
			</table>
		</p:tab>
		</c:forEach>
	</p:accordionPanel>  
	</c:forEach>
	</h:form>
	
	<script type="text/javascript">
	$(document).ready(function(){
		SinoPortal.View.initObjectView();
	});
	</script>
</f:view>